﻿using System;
using System.Collections.Generic;

namespace tju.cme.BookStore2024.webapi.Models.EF;

public partial class T041message
{
    /// <summary>
    /// 消息Id
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// 发送者姓名
    /// </summary>
    public Guid SenderId { get; set; }

    /// <summary>
    /// 接收者姓名
    /// </summary>
    public Guid? ReceiverId { get; set; }

    /// <summary>
    /// 发送消息
    /// </summary>
    public string Mcontent { get; set; } = null!;

    /// <summary>
    /// 发送时间
    /// </summary>
    public DateTime GenerateTime { get; set; }

    /// <summary>
    /// 是否已读
    /// </summary>
    public bool IsRead { get; set; }

    /// <summary>
    /// 是否发送
    /// </summary>
    public bool IsSend { get; set; }

    /// <summary>
    /// 发送者角色
    /// </summary>
    public string SenderRole { get; set; } = null!;

    /// <summary>
    /// 接收者角色
    /// </summary>
    public string? ReceiverRole { get; set; }
}
